<?php
include('includes/basic.php');
$custname=$_POST['cont_name'];
$phone1=$_POST['phone1'];
$phone2=$_POST['phone2'];
$email1=$_POST['email1'];
$email2=$_POST['email2'];
$add=addslashes($_POST['add']);
$status=$_POST['recordstatus'];
$contid=$_POST['clicontid'];
$cliid=$_POST['cliid'];
$modifier=$distusertypeid;
$update=mysql_query("update client_contact set contact_name='$custname', contact_phone_1='$phone1', contact_phone_2='$phone2',contact_email_1='$email1',contact_email_2='$email2',contact_address='$add',contact_modified_on=sysdate(),contact_modified_by='$modifier' where contact_id=$contid");

if($update)
	{
		header("location:view-client-contacts.php?clidd=$cliid");
	}
?>